package day3.com.test;

public class T {
	int i ;
	public static void main(String[] args){
		T t =new T();
		int n = 10;
		String str = "a";
		t.setI(n);
		t.setString(str);
		System.out.println(n);
		System.out.println(str);
		
		t.i = 100;
		t.setObject(t);
		System.out.println(t.i);
	}
	public void setI(int i ){ i = 100 ; }
	public void setString(String str){ str = "abc"; }
	public void setObject(T t1){ t1.i = 1000; }
}
